package org.jadapter.examples.foobar;

public class FooBar implements Bar {
    
    private Foo foo;
    
    public FooBar(Foo foo) {
        this.foo = foo;
    }
    
    /** implementation of Bar */
    public int bar() {
        return (int) foo.foo() + 1;
    }
} 
